package homework.work7;

public class Main {
    public static void main(String[] args) {
        A a = new A();
        A a1 = new A();
        B b = new B();
        Object aa=a.getClass();
        Object aa1=a1.getClass();
        Object bb=b.getClass();
        System.out.println(aa==aa1);
        System.out.println(aa==bb);
    }
}

class A{

}

class B{

}
